import request from '../util/axios'

// 获取辅助鉴定表树形结构
export const requestLeftTree = (data) => {
  return request({
    url: '/yuyi-config-boot/modules/config-auxiliary-identification-form/auxiliaryIdentificationForm/tree',
    method: 'post',
    data
  })
}

// 分页查询辅助鉴定表信息
export const requestAuxiliaryList = (data) => {
  return request({
    url: '/yuyi-config-boot/modules/config-auxiliary-identification-form/configauxiliaryidentificationform/paging',
    method: 'post',
    data
  })
}

// 批量删除辅助鉴定表信息
export const batchDelList = (data) => {
  return request({
    url: '/yuyi-config-boot/modules/config-auxiliary-identification-form/deleteByIds',
    method: 'delete',
    data
  })
}

// 新增辅助鉴定表信息
export const addAuxiliary = (data) => {
  return request({
    url: '/yuyi-config-boot/modules/config-auxiliary-identification-form/add',
    method: 'post',
    data
  })
}
// 编辑辅助鉴定表信息
export const editAuxiliary = (data) => {
  return request({
    url: '/yuyi-config-boot/modules/config-auxiliary-identification-form/edit',
    method: 'put',
    data
  })
}
